projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5e99c4
)
upgraded: register stage2 process in uloop as intended
author
Matthias Schiffer
<
[email protected]
>
Wed, 12 Jul 2017 22:04:49 +0000
(
00:04
+0200)
committer
Matthias Schiffer
<
[email protected]
>
Wed, 12 Jul 2017 22:05:27 +0000
(
00:05
+0200)
Make the process callback effective, so an exit of state2 will trigger a
reboot.
Signed-off-by: Matthias Schiffer <
[email protected]
>
upgraded/upgraded.c
patch
|
blob
|
history
diff --git
a/upgraded/upgraded.c
b/upgraded/upgraded.c
index e70f92dd42cb1f84792d2fc5adf9728e21f640f1..6bc5ad8f94f3060c7c56535418b5df6f64df2f26 100644
(file)
--- a/
upgraded/upgraded.c
+++ b/
upgraded/upgraded.c
@@
-58,6
+58,8
@@
static void sysupgrade(char *path, char *command)
fprintf(stderr, "Failed to start sysupgrade\n");
uloop_end();
}
+
+ uloop_process_add(&upgrade_proc);
}
int main(int argc, char **argv)